{yun:}include file="$comstyle/header.htm"{/yun}
<script src="{yun:}$com_style{/yun}/js/part.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/class.public.js?v={yun:}$config.cachecode{/yun}" type="text/javascript"></script>
<link rel="stylesheet" href="{yun:}$style{/yun}/style/class.public.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<div class="w1000">
	<div class="admin_mainbody"> 
		{yun:}include file="$comstyle/left.htm"{/yun}
		<div class=right_box>
			<div class=admincont_box>
				<div class="com_tit"><span class="com_tit_span">兼职管理</span></div>
				
				<div class="job_list_tit">
					<ul class="">
						<li {yun:}if $smarty.get.w=="1"{/yun}class="job_list_tit_cur"{yun:}/if{/yun}>
							<a href="index.php?c=partok&w=1" title="招聘中的兼职">招聘中的兼职</a>
						</li>
						<li {yun:}if $smarty.get.w=="0"{/yun} class="job_list_tit_cur"{yun:}/if{/yun}>
							<a href="index.php?c=partok&w=0" title="待审核的兼职">待审核的兼职</a>
						</li>
						<li {yun:}if $smarty.get.w=="3"{/yun} class="job_list_tit_cur"{yun:}/if{/yun}>
							<a href="index.php?c=partok&w=3" title="未通过的兼职">未通过的兼职</a>
						</li>
						<li {yun:}if $smarty.get.w=="2"{/yun} class="job_list_tit_cur"{yun:}/if{/yun}>
							<a href="index.php?c=partok&w=2" title="过期的兼职">过期的兼职</a>
						</li>
						<li {yun:}if $smarty.get.c=="part"{/yun} class="job_list_tit_cur"{yun:}/if{/yun}>
							<a href="index.php?c=part" title="全部兼职">全部兼职</a>
						</li>
					</ul>
				</div>
	  
				<div class="clear"></div>
			
				<div class="com_body">     
					<div class="admin_new_tip mt20">
						<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
						<div class="admin_new_tip_list_cont">
							<div class="admin_new_tip_list"> 如果贵公司想快速招聘人才，建议升级贵宾，获取更多的展示机会，以帮助您快速找到满意的人才。 </div>
							<div class="admin_new_tip_list"> 请贵公司保证兼职信息的真实性、合法性，并及时更新兼职信息，如被举报或投诉，确认发布的信息违反相关规定后，本站将会关闭贵公司的招聘服务，敬请谅解！</div>
						</div>
					</div>
					
					<div class="clear"></div>
					
					<div class="joblist_search">
					
						<form action="" method="get">
							<div class="joblist_search_box">
								<input name="c" type="hidden" value="part">
								<input name="keyword" type="text" class="joblist_search_box_text" value="{yun:}$smarty.get.keyword{/yun}" placeholder="搜索已有兼职">
								<input  type="submit" class="joblist_search_bth" value=" ">
							</div>
						</form>

					</div>

					<div class="clear"></div>
					<iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
					<form action="index.php" name="myform" method="get" id='myform' target="supportiframe">
						<input type="hidden" name="c" value="part" />
						<input type="hidden" name="act" value="del" />
						<table class="com_table mt20">
							{yun:}if !empty($rows){/yun}
							<tr> 
								<th>&nbsp;</th> 
								<th>兼职名称</th> 
								<th>工作类型</th> 
								<th>招聘人数</th> 
								<th>薪水</th> 
								<th>有效期</th>
								<th>更新时间</th> 
								<th>审核状态</th> 
							    <th width="200">操作</th> 
							</tr>
							{yun:}/if{/yun}

							{yun:}foreach from=$rows item=list{/yun}
							<tr>
								<td>
									<input type="checkbox" name="del[]" value="{yun:}$list.id{/yun}" class="com_Release_job_check">
								</td>
								<td align="center">
									<a href="{yun:}url m=part c=show id='`$list.id`'{/yun}"  target="_blank">{yun:}$list.name{/yun}</a>
								</td>
								<td align="center">{yun:}$list.type{/yun}</td>
								<td align="center">{yun:}$list.number{/yun}人</td>
								
								<td align="center">{yun:}$list.salary{/yun}{yun:}$list.salary_type{/yun}</td>
								<td align="center">{yun:}if $list.edate{/yun}{yun:}$list.edate|date_format:'%Y-%m-%d'{/yun}{yun:}else{/yun}长期招聘{yun:}/if{/yun}</td>
								<td align="center">{yun:}$list.lastupdate|date_format:'%Y-%m-%d'{/yun}</td>
								<td align="center">
									{yun:}if ($list.edate lt time() && $list.edate>'0')||$list.state==2{/yun}
									<font color=purple>已过期</font>
									{yun:}elseif $list.state=="0"{/yun}
									<font color=blue>等待审核</font>
									{yun:}elseif $list.state=="1"{/yun}
									<font color=green>已审核</font>
									{yun:}elseif $list.state=="2"{/yun}
									<font color=red>已结束</font>
									{yun:}elseif $list.state=="3"{/yun}<font color=red>未通过</font>{yun:}/if{/yun}
								</td>
								<td  align="center"> 
									<a href="index.php?c=partadd&id={yun:}$list.id{/yun}" class=" com_bth cblue">修改</a>
									<a  onclick="layer_del('确定要删除？', 'index.php?c=part&act=del&id={yun:}$list.id{/yun}');" href="javascript:void(0)"  class=" com_bth cblue">删除</a>
									<!-- <a href="javascript:void(0)" onclick="refreshPart('{yun:}$list.id{/yun}');"  class=" com_bth cblue">刷新</a> -->
								</td>
							</tr>
							{yun:}foreachelse{/yun}
							<tr>
								<td colspan="9" class="table_end">
									<div class="msg_no">
										<p>暂无相关兼职信息</p><a href="javascript:;" onclick="jobadd_url('{yun:}$addpartjobnum{/yun}','{yun:}$config.integral_partjob{/yun}','part');" class="com_msg_no_bth com_submit">添加兼职职位</a>
									</div>	
								</td>
							</tr>
							{yun:}/foreach{/yun}
						
 
							{yun:}if !empty($rows){/yun}
							<tr>
								<td colspan="9" class="table_end">
									<div class="com_Release_job_bot"> 
										<span class="com_Release_job_qx">
											<input id='checkAll' type="checkbox" onclick='m_checkAll(this.form)' class="com_Release_job_qx_check">全选
										</span>
										<input class="c_btn_02 c_btn_02_w110" type="button" value="批量删除" onclick="return really('del[]');">
										<input class="c_btn_02 c_btn_02_w110" type="button" value="增加兼职" onclick="jobadd_url('{yun:}$addpartjobnum{/yun}','{yun:}$config.integral_partjob{/yun}','part');">
									</div>	
								</td>
							</tr>
							{yun:}/if{/yun}
							<tr>
								<td colspan="9" class="table_end"><div class="diggg">{yun:}$pagenav{/yun}</div></td>
							</tr>
						</table>    
					</form>
				</div>
			</div>
		</div>
	</div> 
 
</div> 
 {yun:}include file="$comstyle/footer.htm"{/yun}